package com.youhome.service.mapper;

import com.youhome.service.model.HouseVideo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HouseVideoMapper {
    int deleteByPrimaryKey(String videoId);

    int insert(HouseVideo record);

    int insertSelective(HouseVideo record);

    HouseVideo selectByPrimaryKey(String videoId);

    List<HouseVideo> selectByHouseId(String houseId);

    List<HouseVideo> selectByBean(HouseVideo record);

    List<HouseVideo> selectByStatus(List<String> status);

    List<String> selectVideoUrlByHouseId(String houseId);

    int updateByPrimaryKeySelective(HouseVideo record);

    int updateByPrimaryKey(HouseVideo record);

    int selectCountByHouseId(String houseId);
}